<extend name="Public/base"/>
<block name="body">
    <!-- 标题栏 -->
    <div class="main-title">
        <h2>预计登录电话信息(只登录了电话)</h2>
    </div>
    <div class="data-table table-striped">
    <table class="">
    <thead>
        <tr>
         
        <th class="">序号</th>
        <th class="">电话</th>
        <th class="">时间</th>
        <th class="">操作</th>
        
        </tr>
    </thead>
    <tbody>
        <volist name="_list" id="vo">
        <tr>
            <td>{$i}</td>
            <td>{$vo.phone}</td>
            <td>{$vo.updatetime|date="Y-m-d",###}</td>
            <td><a href="?s=/admin/studen/deleForecastReg/phone/{$vo.phone}" class="delete_action">删除</td>
        </tr> 
        </volist>
        </tbody>
    </table> 
    </div>
    <!-- 数据列表 -->
    <if condition="$_list eq false" >
    <div style="padding: 20px;text-align: center;border: 1px solid #ccc; border-radius: 8px;">
        暂无数据
    </div>
    </if>
     
     
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
<link href="/Public/static/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<link href="/Public/static/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css"><link href="/Public/static/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
 
    <script type="text/javascript">
        // Think.setValue("type", {$info.type|default=0});
        // Think.setValue("group", {$info.group|default=0});
        //导航高亮
        $('.side-sub-menu').find('a[href="{:U('User/index')}"]').closest('li').addClass('current');

        $(document).on("change",".is_effective",function(){
                _self = this;
                if (_self.value==0) {
                    $(".invalid_memo").show();
                } else {
                    $(".invalid_memo").hide();
                }
            })

        function jAccessSave() {
            _visit_conter = $("#visit_conter").val();
            if (_visit_conter=='') {
                alert("回访内容不能为空");
                return false;
            }
            _frm = $("#accessFrm");
 
            $.post(_frm.attr("action"),_frm.serialize(),function(res){
 
                _obj = eval("("+res+")");
                if (_obj.status=='success') {
                    alert("提交成功");
                 
                    
                        setTimeout(function(){
                           location=location ;
                        },500);

                    
                }
            })
            return false;
        } 

        $('#visit_next_time').datetimepicker({
            format: 'yyyy-mm-dd',
            language:"zh-CN",
            minView:2,
            autoclose:true
        });

    </script>
</block>

 